import request from '@/utils/request';

// 访客登记
export function getVisitorList(data) {
	return request({
		url: '/park/officeVisitor/list',
		method: 'get',
		data,
		isJson: true,
	})
}

// 新增访客登记
export function addVisitor(data) {
	return request({
		url: '/park/officeVisitor/addVisitor',
		method: 'post',
		data,
		isJson: true,
	})
}